package com.example.playandroid.model.room.dao

import androidx.room.Dao
import androidx.room.Query
import com.example.playandroid.model.room.entity.ProjectClassify

// 项目分类
@Dao
interface ProjectClassifyDao {
    @Query("SELECT * FROM project_classify where order_classify > 144999 and order_classify < 145050")
    suspend fun getAllProject(): List<ProjectClassify>

    @Query("SELECT * FROM project_classify WHERE order_classify > 189999 and order_classify < 190020")
    suspend fun getAllOfficial(): List<ProjectClassify>

    // todo: fix this dao
}